Skip to content

Conversation

@SigureMo
Copy link
Member

动机

解决方案

类型

  • ✨ feat: 添加新功能
  • 🐛 fix: 修复 bug
  • 📝 docs: 对文档进行修改
  • ♻️ refactor: 代码重构(既不是新增功能,也不是修改 bug 的代码变动)
  • ⚡ perf: 提高性能的代码修改
  • 🧑‍💻 dx: 优化开发体验
  • 🔨 workflow: 工作流变动
  • 🏷️ types: 类型声明修改
  • 🚧 wip: 工作正在进行中
  • ✅ test: 测试用例添加及修改
  • 🔨 build: 影响构建系统或外部依赖关系的更改
  • 👷 ci: 更改 CI 配置文件和脚本
  • ❓ chore: 其它不涉及源码以及测试的修改
  • ⬆️ deps: 依赖项修改
  • 🔖 release: 发布新版本

Copilot AI review requested due to automatic review settings September 21, 2025 06:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Unifies CI dependency installation to always include all extras and removes a now-obsolete TODO referencing a cryptography limitation.

  • Merge previous ci-install and ci-install-all behaviors by making ci-install include --all-extras
  • Remove the separate ci-install-all recipe and the related TODO comment

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


ci-install-all pyversion:
uv sync --all-extras --dev -p {{pyversion}}

Copy link

Copilot AI Sep 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behavior of ci-install has changed (now installs all extras) and the previous ci-install-all target was removed. This is a breaking interface change for any external workflows or documentation referencing ci-install-all or expecting ci-install to be a lighter install. Consider retaining ci-install-all as a backward-compatible alias (even temporarily) or adding a deprecation notice to ease transition.

Suggested change
ci-install-all pyversion:
@echo "Warning: 'ci-install-all' is deprecated and will be removed in a future release. Please use 'ci-install' instead."
just ci-install {{pyversion}}

Copilot uses AI. Check for mistakes.
# CI specific
# TODO(SigureMo): Install all extra when cryptography support 3.14t.
# See https://github.com/pyca/cryptography/issues/12489#issuecomment-3133415491 for more details.
ci-install pyversion:
Copy link

Copilot AI Sep 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The prior explanatory TODO about waiting for cryptography support was removed without replacement, losing useful context for why this consolidation is now safe. Consider adding a brief comment (e.g., 'All extras enabled now that cryptography supports required Python version — see <issue/link>') to preserve traceability.

Suggested change
ci-install pyversion:
ci-install pyversion:
# All extras enabled now that cryptography supports required Python version — see https://github.com/siguremo/yutto/issues/123

Copilot uses AI. Check for mistakes.
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 21, 2025

CodSpeed Performance Report

Merging #573 will not alter performance

Comparing ci/install-all-extras (a600967) with main (5c4f7d3)

Summary

✅ 30 untouched

@SigureMo SigureMo enabled auto-merge September 21, 2025 06:36
@SigureMo SigureMo disabled auto-merge September 21, 2025 06:36
@SigureMo SigureMo merged commit 51aac77 into main Sep 21, 2025
44 of 45 checks passed
@SigureMo SigureMo deleted the ci/install-all-extras branch September 21, 2025 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants